package com.bosssoft.trainee.nontax.entity.vo;


import com.bosssoft.trainee.nontax.entity.po.Book;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserVO {
    private Integer id;
    private String username;
    private String password;
    private String nickName;
    private Integer age;
    private String sex;
    private String address;
    private String avatar;
    private BigDecimal account;
    private Boolean available;


    private List<Integer> roles;

    private Set<PermissionVO> permissions;

    private List<Book> bookList;

    private String token;
}
